package com.bj58.groupbuy.action.service;

import java.util.List;

import com.bj58.groupbuy.action.model.WanChannelDay;
import com.bj58.groupbuy.action.model.WanCompany;
import com.bj58.groupbuy.action.model.WanGame;
import com.bj58.groupbuy.action.model.WanOrderStat;
import com.bj58.groupbuy.action.model.WanService;
import com.bj58.groupbuy.wf.page.Paginate;

public interface WebGameService {
	
	/**获取游戏公司列表
	 * @return
	 * @throws Exception
	 */
	public List<WanCompany>  getCompanyList ()throws Exception;
	
	
	/**根据公司ID获取游戏列表
	 * @return
	 * @throws Exception
	 */
	public List<WanGame>  getGameList (int companyId)throws Exception;
	
	
	/**页游订单数据统计
	 * @param condition
	 * @param cols
	 * @param orderby
	 * @param groupby
	 * @param pageNum
	 * @param pageIndex
	 * @return
	 * @throws Exception
	 */
	public Paginate<WanOrderStat>  wanOrderStat(List<String> cols,String condition,String orderby,int pageNum,int pageIndex,int type,int all)throws Exception;
	
	
	
	/**获取游戏服务器列表
	 * @param companyId
	 * @param gameId
	 * @return
	 */
	public List<WanService>  getServiceList(long companyId,long gameId);
	
	
	
	/**游戏渠道数据统计
	 * @param cols
	 * @param condition
	 * @param orderby
	 * @param pageNum
	 * @param pageIndex
	 * @param type
	 * @return
	 * @throws Exception
	 */
	
	public Paginate<WanChannelDay>  wanChannelDayStat(List<String> cols,String condition,String orderby,int pageNum,int pageIndex,int type,int all)throws Exception;

	public Paginate<WanChannelDay>  wanChannelDayStat(List<String> cols,String condition,String orderby,int pageNum,int pageIndex,int type,int all,String groupby)throws Exception;

}
